<div class="modal-header">
    <h4 class="modal-title">请选择采购订货单</h4>
</div>

<div class="col" style="width:100%">
    <div class="panel-body b-b b-light">
        搜索: <input id="filter" type="text" class="form-control input-sm w-sm inline m-r"/>
    </div>
    <div class="wrapper-md">
        <table class="table m-b-none" ui-jq="footable" data-filter="#filter" data-page-size="5">
            <thead>
            <tr>
                <td></td>
                <th>{{columns[0].title}}</th>
                <th>{{columns[1].title}}</th>
                <th>{{columns[2].title}}</th>
                <th>{{columns[3].title}}</th>
                <th>{{columns[4].title}}</th>
                <th>{{columns[5].title}}</th>
                <th>{{columns[6].title}}</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="tb in dataInfo">
                <td><input type="radio" name="ck" ng-click="ck(tb)"></td>
                <td>{{tb.createTime}}</td>
                <td>{{tb.zdr}}</a></td>
                <td>{{tb.purchaseDdbh}}</td>
                <td>{{tb.purchaseGys}}</td>
                <td>{{tb.purchaseShck}}</td>
                <td>{{tb.purchaseYfdj}}</td>
                <td id="{{tb.purchaseId}}" style="color:dodgerblue;cursor:pointer" ng-click="showDetails(tb,this)"><u>查看详情</u></td>
            </tr>
            </tbody>
            <tfoot class="hide-if-no-paging">
            <tr>
                <td colspan="8" class="text-center">
                    <ul class="pagination"></ul>
                </td>
            </tr>
            </tfoot>
        </table>
    </div>
</div>

<div class="modal-footer">
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <button class="btn btn-primary" ng-click="ok()">确定</button>
</div>